public class ext_OfficialApplicationForm 
{
    public List<Party_Information__c> Shareholders {get; set;}
    public List<Location_Booking_Information__c> Locations {get; set;}
    public List<Account_Activity__c> Activities {get; set;}
    
    public ext_OfficialApplicationForm(ApexPages.StandardController controller) 
    {
        Shareholders = new List<Party_Information__c>();
        Shareholders = [SELECT id, Account__c, First_Name__c, Role__c, Name, Title__c, Country__r.Name, Address__c, Email_Address__c, Land_Number__c, Mobile_Number__c FROM Party_Information__c WHERE Account__c = :Apexpages.CurrentPage().getParameters().get('id') AND Role__c != 'Manager'  Order by FIrst_Name__c];
        Locations = [SELECT id, Account__c, Location__r.Location_Type__c FROM Location_Booking_Information__c WHERE Account__c = :Apexpages.CurrentPage().getParameters().get('id')];
        Activities = [SELECT id, Account__c, Activity__r.Name FROM Account_Activity__c WHERE Account__c = :ApexPages.CurrentPage().getParameters().get('id')];
    }
}